/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AcceptanPeriodEnum extends StringEnum
{
    public static final String MIDWAY_VALUE = "10";
    public static final String COMPLETELY_VALUE = "20";

    public static final AcceptanPeriodEnum midway = new AcceptanPeriodEnum("midway", MIDWAY_VALUE);
    public static final AcceptanPeriodEnum completely = new AcceptanPeriodEnum("completely", COMPLETELY_VALUE);

    /**
     * construct function
     * @param String acceptanPeriodEnum
     */
    private AcceptanPeriodEnum(String name, String acceptanPeriodEnum)
    {
        super(name, acceptanPeriodEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AcceptanPeriodEnum getEnum(String acceptanPeriodEnum)
    {
        return (AcceptanPeriodEnum)getEnum(AcceptanPeriodEnum.class, acceptanPeriodEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AcceptanPeriodEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AcceptanPeriodEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AcceptanPeriodEnum.class);
    }
}